???.data   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 5
rs 9.4285
c 1
b 0
f 0
1
export default {
2
    data: function () {
3
        return {
4
            padding: 0,
5
        }
6
    },
7
8
    props: {
9
        height: {
10
            type: Number
11
        },
12
    },
13
14
    computed: {
15
        top () {            
16
            return (this.height + this.padding) + 'px';
17
        }
18
    }
19
};